package java67_15;

public class TeacherTest3 {

	public static void main(String[] args) {
		// Math.max(a, b)
//		Teacher2 t = new Teacher2("老张", 31, "本科", "技术顾问");
//		System.out.println(t);
//		t.selfIntro();
//		t = new Teacher2("老马", 32, "本科", "技术经理");
//		System.out.println(t);
//		t.selfIntro();
		/// 调用不同的构造方法初始化
		Teacher2 t3 = new Teacher2("老马");// 其他属性都没
		t3.selfIntro();
		Teacher2 t4 = new Teacher2("小刘", 25);
		t4.selfIntro();
	}

}
